package org.edu.modules.oa.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "VeOaDiaryTableVo ", description = "日记表")

public class VeOaDiaryTableVo {
    /**主键id*/
    @ApiModelProperty(value = "主键id")
    private Long id;

    //日记主题
    @Excel(name = "日记主题", width = 15)
    @ApiModelProperty(value = "日记主题")
    @TableField(value = "title_str")
    private String titleStr;

    //日记分类
    @Excel(name = "个人分类", width = 15)
    @ApiModelProperty(value = "个人分类")
    @TableField(value = "riji_type")
    private String rijiType;

    //日记内容
    @Excel(name = "日记内容", width = 15)
    @ApiModelProperty(value = "日记内容")
    @TableField(value = "riji_content")
    private String rijiContent;

    //创建时间
//    @Excel(name = "记录时间", width = 15,format = "YYYY-MM-DD HH:mm:ss")
    @Excel(name = "记录时间", width = 15) //李少君
    @ApiModelProperty(value = "记录时间")
    @TableField(value = "create_Time")
//    private Date createTime;
    private String createTime; //李少君

    //创建人ID
    @TableField(value = "create_by")
    private String createBy;

    //创建人
    @Excel(name = "记录人", width = 15)
    @ApiModelProperty(value = "记录人")
    @TableField(value = "realname")
    private String realname;

    //更新时间
//    @Excel(name = "修改时间", width = 15,format = "YYYY-MM-DD HH:mm:ss")
    @Excel(name = "修改时间", width = 15) //李少君
    @ApiModelProperty(value = "修改时间")
    @TableField(value = "update_time")
//    private Date updateTime;
    private String updateTime; //李少君

}
